package view;

import org.apache.log4j.Logger;
import org.apache.log4j.PropertyConfigurator;

public class Log4jMain {

	public static final Logger log = Logger.getLogger(Log4jMain.class);

	public static void main(String[] args) {
		PropertyConfigurator.configure(ClassLoader.getSystemResource("log4j.properties"));
		log.info("This is info message");
		log.error("This is error message");
		log.debug("This is debug message");
	}
}